Police apologize, High Court dismisses case against them for taking photos with suspect